module.exports={
    //预设 预制了corejs，runtime辅助代码
    //https://github.com/facebook/create-react-app/blob/main/packages/babel-preset-react-app/create.js
    presets:["react-app"],
    plugins: [
        ['import', {
          libraryName: 'zarm',
          esModule: true,
          style: true, // or 'css'
        //   resolveStyle: (name) => {
        //     return `zarm/es/${name}/style/css`
        //   }
        }],
      ]
}